<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="member" name="member" th:value="${ohOrder.memberid}" class="form-control" type="hidden">
							<input id="orderid" name="orderid" th:value="${ohOrder.id}" class="form-control" type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">订单支付编号：</label>
								<div class="col-sm-8">
									<input id="paynum" name="paynum" class="form-control" th:value="${ohOrder.paynum}" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">支付方式：</label>
								<div class="col-sm-8">
									<input id="pay" name="pay" th:value="${ohOrder.pay}" class="form-control" type="hidden">
									<input class="form-control" th:value="${ohOrder.paytype}" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">订单金额：</label>
								<div class="col-sm-8" th:if="${ohOrder.pay}== 1">
									<input id="ordermoney" name="ordermoney" th:value="${ohOrder.redenvelope}" class="form-control" type="text" readonly="readonly">
								</div>
								<div class="col-sm-8" th:if="${ohOrder.pay}== 2">
									<input id="ordermoney" name="ordermoney" th:value="${ohOrder.paymoney}" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">付款金额：</label>
								<div class="col-sm-8" th:if="${ohOrder.pay}== 1">
									<input id="paymoneyId" name="paymoneyId" th:value="${ohOrder.redenvelope}" class="form-control" type="text" readonly="readonly">
								</div>
								<div class="col-sm-8" th:if="${ohOrder.pay}== 2">
									<input id="paymoneyId" name="paymoneyId" th:value="${paymoney}" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">退款金额：</label>
								<div class="col-sm-8">
									<input id="returnmoney" name="returnmoney" class="form-control" onkeyup="checkNum(this,'','',2)" type="text">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/shop/purchaseOhOrder/returnOrder.js">
	</script>
</body>
</html>
